FROM tomcat:8

# RUN apk upgrade --no-cache && \
#     apk add --no-cache libstdc++6 && \
#     rm -rf /tmp/*

RUN mv /usr/local/tomcat/webapps /usr/local/tomcat/webapps2 \
  && mv /usr/local/tomcat/webapps.dist /usr/local/tomcat/webapps

ADD jolokia-war-1.6.2.war /usr/local/tomcat/webapps/jolokia.war
ADD tomcat-users.xml /usr/local/tomcat/conf
# ADD MyJarFile.jar /root/MyJarFile.jar
# ADD run.sh /root/run.sh
# EXPOSE 8080
# WORKDIR /root

# CMD ["/root/run.sh"]
